package org.jeecg.modules.travel.dto.theme;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotBlank;

/**
 * 主题添加对象
 * @Create @author wentao.wang
 * @Create @date 2025-04-22 22:35:42
 */
@Data
public class ThemeAddDto {

    /**父级id*/
    @Excel(name = "父级id", width = 15)
    //可以为空，系统约定默认为空则给parentId设置为0，表示根
    @Schema(description = "父级id")
    private String parentId;
    /**主题名称*/
    @Excel(name = "主题名称", width = 15)
    @NotBlank(message = "主题名称不能为空")
    @Schema(description = "主题名称")
    private String themeName;
    /**图标*/
    @Excel(name = "图标", width = 15)
    @NotBlank(message = "图标不能为空")
    @Schema(description = "图标")
    private String themeIcon;
    /**完整路径路由*/
    @Excel(name = "完整路径路由", width = 15)
    @NotBlank(message = "完整路径路由不能为空")
    @Schema(description = "完整路径路由")
    private String themePath;
    /**排序权重*/
    @Excel(name = "排序权重", width = 15)
    //@NotBlank(message = "排序权重不能为空")
    @Schema(description = "排序权重")
    private String sortOrder;

}
